www.gusucode.com > VC 非模态对话框的显示 > VC 非模态对话框的显示/gusucode/MyModelessDoc/Dlg.cpp
// Dlg.cpp : implementation file // Download by http://www.NewXing.com #include "stdafx.h" #include "MyModeless.h" #include "Dlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDlg dialog CDlg::CDlg(CWnd* pParent /*=NULL*/) : CDialog(CDlg::IDD, pParent) { //{{AFX_DATA_INIT(CDlg) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void CDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CDlg) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CDlg, CDialog) //{{AFX_MSG_MAP(CDlg) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CDlg message handlers